-- GENERATED SPELL FOR [Axxarien Hellcaller] --


function spell0_17342(pUnit, Event) --@Rain of Fire,n/a--
pUnit:FullCastSpellOnTarget(11990,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17342', 9000, 1)
end

function Sorts_17342(pUnit, Event)
local choix_sorts_17342 = math.random(0, 0)
if choix_sorts_17342 == 0 then
pUnit:RegisterEvent('spell0_17342', 1, 1)
end
end

function mob17342_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17342', math.random(1500, 3000), 1)
end

function mob17342_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17342_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17342_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17342, 1, 'mob17342_Action')
RegisterUnitEvent(17342, 2, 'mob17342_Leave')
RegisterUnitEvent(17342, 3, 'mob17342_Kill')
RegisterUnitEvent(17342, 4, 'mob17342_Die')
